FROM openjdk:8-jdk-alpine

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /zzy/app/regis

WORKDIR /zzy/app/regis

ADD ./target/regis-take-out-system.jar ./

EXPOSE 9091

CMD java -jar -Xms512m -Xmx512m -Xss256k -XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC -Dspring.profiles.active=prod regis-take-out-system.jar

